package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * realtest对象 realtest
 * 
 * @author ruoyi
 * @date 2025-03-21
 */
public class Realtest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ywid;

    /** 部门名字 */
    @Excel(name = "部门名字")
    private String bmname;

    /** 光缆名字 */
    @Excel(name = "光缆名字")
    private String glname;

    /** 业务名称 */
    @Excel(name = "业务名称")
    private String ywname;

    /** 炮筒名称 */
    @Excel(name = "炮筒名称")
    private String ptname;

    /** 源端口 */
    @Excel(name = "源端口")
    private String fromplace;

    /** 宿端口 */
    @Excel(name = "宿端口")
    private String toplace;

    /** 距离 */
    @Excel(name = "距离")
    private String height;

    /** 纤芯状态（0正常 1停用） */
    @Excel(name = "纤芯状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 备注图片 */
    @Excel(name = "备注图片")
    private String remarks;

    /** 光缆ID */
    @Excel(name = "光缆ID")
    private Long cableId;

    public void setYwid(Long ywid) 
    {
        this.ywid = ywid;
    }

    public Long getYwid() 
    {
        return ywid;
    }
    public void setBmname(String bmname) 
    {
        this.bmname = bmname;
    }

    public String getBmname() 
    {
        return bmname;
    }
    public void setGlname(String glname) 
    {
        this.glname = glname;
    }

    public String getGlname() 
    {
        return glname;
    }
    public void setYwname(String ywname) 
    {
        this.ywname = ywname;
    }

    public String getYwname() 
    {
        return ywname;
    }
    public void setPtname(String ptname) 
    {
        this.ptname = ptname;
    }

    public String getPtname() 
    {
        return ptname;
    }
    public void setFromplace(String fromplace) 
    {
        this.fromplace = fromplace;
    }

    public String getFromplace() 
    {
        return fromplace;
    }
    public void setToplace(String toplace) 
    {
        this.toplace = toplace;
    }

    public String getToplace() 
    {
        return toplace;
    }
    public void setHeight(String height) 
    {
        this.height = height;
    }

    public String getHeight() 
    {
        return height;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setCableId(Long cableId) 
    {
        this.cableId = cableId;
    }

    public Long getCableId() 
    {
        return cableId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ywid", getYwid())
            .append("bmname", getBmname())
            .append("glname", getGlname())
            .append("ywname", getYwname())
            .append("ptname", getPtname())
            .append("fromplace", getFromplace())
            .append("toplace", getToplace())
            .append("height", getHeight())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("remarks", getRemarks())
            .append("cableId", getCableId())
            .toString();
    }
}
